package com.example.entity;

public class FoodsRecipe {
    private int recipeid;//成品id
    private String recipename;//成品名字
    private String type;//类型（早餐，中餐，晚餐）
    private String categoryid;//关联成品分类id
    private String calories;//总热量
    private String protein;//蛋白质含量
    private String carbs;//碳水化合物含量
    private String img;//成品图片
    private String description;//成品描述
    private String is_recommended;//是否为推荐成品
    private String createtime;//创建时间

    public int getRecipeid() {
        return recipeid;
    }

    public void setRecipeid(int recipeid) {
        this.recipeid = recipeid;
    }

    public String getRecipename() {
        return recipename;
    }

    public void setRecipename(String recipename) {
        this.recipename = recipename;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(String categoryid) {
        this.categoryid = categoryid;
    }

    public String getCalories() {
        return calories;
    }

    public void setCalories(String calories) {
        this.calories = calories;
    }

    public String getProtein() {
        return protein;
    }

    public void setProtein(String protein) {
        this.protein = protein;
    }

    public String getCarbs() {
        return carbs;
    }

    public void setCarbs(String carbs) {
        this.carbs = carbs;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIs_recommended() {
        return is_recommended;
    }

    public void setIs_recommended(String is_recommended) {
        this.is_recommended = is_recommended;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "foodsrecipe{" +
                "recipeid=" + recipeid +
                ", recipename='" + recipename + '\'' +
                ", type='" + type + '\'' +
                ", categoryid='" + categoryid + '\'' +
                ", calories='" + calories + '\'' +
                ", protein='" + protein + '\'' +
                ", carbs='" + carbs + '\'' +
                ", img='" + img + '\'' +
                ", description='" + description + '\'' +
                ", is_recommended='" + is_recommended + '\'' +
                ", createtime=" + createtime +
                '}';
    }
}
